<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>系统管理抽屉</title>
    <link rel="stylesheet" href="https://unpkg.com/layui@2.8.18/dist/css/layui.css">
    <link rel="stylesheet" href="./css/drawer.css">
</head>
<body>
    <div class="layui-container drawer-trigger">
        <button type="button" class="layui-btn layui-btn-primary" id="openDrawer">
            <i class="layui-icon layui-icon-set"></i> 打开系统管理
        </button>
    </div>

    <script src="https://unpkg.com/layui@2.8.18/dist/layui.js"></script>
    <script src="./js/drawer-manager2.js"></script>
    <script>
        // 初始化抽屉管理器
        document.addEventListener('DOMContentLoaded', function() {
            new DrawerManager();
        });
    </script>
</body>
</html>